<li class="grey">
	<a data-toggle="dropdown" class="dropdown-toggle" href="#">
		<i class="icon-tasks"></i>
		<span class="badge badge-grey"><?php echo count($params['notifications']['grey']['items']); ?></span>
	</a>

	<ul class="pull-right dropdown-navbar dropdown-menu dropdown-caret dropdown-closer">
		<li class="nav-header">
			<i class="icon-ok"></i>
			<?php echo count($params['notifications']['grey']['items']); ?> Tasks to complete
		</li>

	<?php
		foreach($params['notifications']['grey']['items'] as $k=>$v)
		{
	?>
		<li>
			<a href="#">
				<div class="clearfix">
					<span class="pull-left"><?php echo $v['title'];?></span>
					<span class="pull-right"><?php echo $v['percentage'];?></span>
				</div>

				<div class="progress progress-mini ">
					<div style="width:<?php echo $v['percentage'];?>%" class="bar"></div>
				</div>
			</a>
		</li>	
	<?php }?>
		<li>
			<a href="<?php echo $params['notifications']['grey']['full_list_url'];?>">
				See tasks with details
				<i class="icon-arrow-right"></i>
			</a>
		</li>
	</ul>
</li>